-
Notifications
You must be signed in to change notification settings - Fork 38.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix 1.1 e2e's to work with 1.2 clusters with scheduler named "default-scheduler" #20740
Fix 1.1 e2e's to work with 1.2 clusters with scheduler named "default-scheduler" #20740
Conversation
Labelling this PR as size/M |
GCE e2e build/test failed for commit a7f287cc3ee4dc6b6b9c1fb3dbb7c8034274611f. |
@@ -100,13 +109,20 @@ func verifyResult(c *client.Client, podName string, ns string, oldNotRunning int | |||
expectNoError(err) | |||
_, notRunningPods := getPodsNumbers(allPods) | |||
|
|||
// See comment at top of scheduler_predicates.go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
repeating this three times... maybe this should be a util func?
@ixdy PTAL. |
// It changed the default scheduler name from "scheduler" to | ||
// "default-scheduler", breaking forward-compatibility with tests that rely on | ||
// finding events from the default scheduler. | ||
var multiSchedulerVersion = version.MustParse("v1.2.0-alpha.6") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can't assign a const
a function call.
needs |
GCE e2e test build/test passed for commit 0a36a05e16d4d54078b9e56165e6217f500b4659. |
@ixdy |
GCE e2e test build/test passed for commit 0511f52. |
LGTM |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e test build/test passed for commit 0511f52. |
Automatic merge from submit-queue |
Auto commit by PR queue bot
…-release-1.1 Auto commit by PR queue bot
…-release-1.1 Auto commit by PR queue bot
Fixes #19724.
Includes a partial cherry-pick of #19608.